package com.baoleme.dto;

import lombok.Data;
import org.hibernate.validator.constraints.Range;

/**
 * @author wuyunbin
 */
@Data
public class EmployeePageQueryDTO {
    @Range(min = 1, message = "页码不正确，无法查询")
    private Integer current;
    @Range(min = 1, max = 20, message = "页大小不正确，无法查询")
    private Integer pageSize;
}
